package com.qianclass.talklive.app.im;

public interface IMEgineEvent {
	public void OnRegister(int errCode, int userId, String userAccount);
	public int OnUnRegister(int errCode);
	public void OnJoinGroup(int errCode, String groupCode, String userList);
	public void OnGroupUserList(int errCode, String groupCode, String userList);
	public void OnLeaveGroup(int errCode, String groupCode);
	public void OnUserJoinGroup(int errCode, String userAccount, String userName, int userType);
	public void OnUserLeaveGroup(int errCode,
								 String userAccount,
								 String userName,
								 int userType,
								 int leaveType);
	public void OnReceiveMessage(String messageData);
	public void OnReceiveGroupMessage(String messageData);
	public void onLockUserAccount(int errCode, int userId, int lockType);
	public void OnLostConnection(int errCode);
	public void OnConnectionError(int errCode);
	public void OnError(int errCode);
	public void OnServerNotification(int errCode);
}
